package br.com.gscorp.bankLion.exception;

import org.springframework.http.HttpStatus;

public class UsuarioException {
	public static final BankLionException HASH_INVALIDO = new BankLionException("hash.invalido", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException CAPTCHA_INVALIDO = new BankLionException("captcha.invalido", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException EMAIL_INVALIDO = new BankLionException("email.invalido", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException USUARIO_INVALIDO = new BankLionException("usuario.invalido", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException SESSAO_EXPIRADA = new BankLionException("sessao.expirada", 401);
	public static final BankLionException USUARIO_EXISTENTE = new BankLionException("usuario.existente", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException DISTRIBUIDOR_EXISTENTE = new BankLionException("distribuidor.existente", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException SOLICITACAO_ANUAL_EFETUADA = new BankLionException("solicitacao.anual.efetuada", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException USUARIO_DADOS_REPETIDOS = new BankLionException("usuario.dados.repetidos", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException USUARIO_CPF_REPETIDO = new BankLionException("usuario.cpf.repetido", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException SENHA_ATUAL_INVALIDA = new BankLionException("senha.atual.invalida", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException USUARIO_CNPJ_REPETIDO = new BankLionException("usuario.cnpj.repetido", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException USUARIO_NOME_FANTASIA_EXISTENTE = new BankLionException("usuario.nome.fantasia.existente", HttpStatus.PRECONDITION_FAILED.value());
	public static final BankLionException PERMISSAO_NEGADA = new BankLionException("usuario.permissao.negada", HttpStatus.PRECONDITION_FAILED.value());
}
